<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String menu = "4";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko">
<head>
<%@ include file="/inc/meta.jsp" %>
<script type="text/javascript">
<!--
$(document).ready(function(){
	$('#goSave').click(function() {
		if(document.getElementById("reg_id").value == "" ){
			alert("실명을 등록 하십시요");
			$('#reg_id').focus();
			return;
		}
		if(document.getElementById("email1").value == "" || document.getElementById("email2").value == ""){
			alert("이메일을 정확히 등록 하십시요");
			$('#email1').focus();
			return;
		}
		if(document.getElementById("tel1").value == "" || document.getElementById("tel2").value == "" || document.getElementById("tel3").value == ""){
			alert("연락처를 등록 하십시요");
			$('#tel1').focus();
			return;
		}
		if(document.getElementById("title").value == "" ){
			alert("제목을 등록 하십시요");
			$('#title').focus();
			return;
		}
		if(document.getElementById("content").value == "" ){
			alert("내용을 등록 하십시요");
			$('#content').focus();
			return;
		}
		document.getElementById("frm").submit();
	});
});
//-->
</script>
</head>
<body>
<!-- header -->
<%@ include file="/inc/header.jsp" %>
<!-- header// -->

<!-- container -->
    <div id="container">
    <form action="contact_dbx.jsp" name="frm" id="frm" method="post" enctype="multipart/form-data"> 
    <input type="hidden" name="board_kind" value="us" />
    <input type="hidden" name="gubun" value="I" />
        <h2><img src="/img/sub0401_h2.gif" alt="1:1문의하기" /></h2>
        <div class="sub-con">
        <ul class="tab04">
        <li class="one"><a href="/support/contact_list.jsp" class="hover">Wedding Story for you</a></li>
        <li class="two"><a href="/support/qna_list.jsp">Key Factors</a></li>
        <li class="three"><a href="/support/faq_list.jsp">Key Factors</a></li>
        </ul>
        <h3><img src="/img/tit0401.gif" alt="Contact Us l 황인영의 웨딩스토리에 궁금하신 점이나 문의사항을 빠르게 답변해 드립니다." /></h3>
				<table class="contactus" summary="구분,제목,작성자 등을 제공한 표">
					<caption>Q&amp;A</caption>
					<colgroup>
					<col width="13%" />
					<col width="87%" />
					</colgroup>
					<tbody>
						<tr class="trstart">
							<th scope="col"><label for="contactus01"><img src="/img/tbl0401_img01.png" alt="이름" /></label></th>
							<td><input type="text" id="reg_id" name="reg_id" title="이름 입력" style=" width:280px;" />
                            <p><img src="/img/tbl0401_coment01.gif" alt="* 실명을 입력하세요." /></p></td>
						</tr>
						<tr>
							<th scope="col"><label for="contactus02"><img src="/img/tbl0401_img02.png" alt="이메일" /></label></th>
							<td><input type="text" class="input_text w_530" id="email1" name="email1" title="이메일 입력" /> <img  src="/img/img_email.gif" alt="@" /> <input type="text" class="input_text w_530" id="email2" name="email2" title="이메일 입력" />
                            <p><img src="/img/tbl0401_coment02.gif" alt="* 답변을 받으 실 이메일 주소를 입력하세요." /></p></td>
						</tr>
						<tr>
							<th scope="col"><label for="contactus03"><img  src="/img/tbl0401_img03.png" alt="휴대폰번호" /></label></th>
							<td>
								<input title="휴대폰번호 중간자리 입력" style="width:80px;" id="tel1" name="tel1" type="text" maxlength="3"/>
								-
								<input title="휴대폰번호 중간자리 입력" style="width:81px;" id="tel2" name="tel2" type="text" maxlength="4"/>
								-
								<input title="휴대폰번호 뒤자리 입력" style="width:81px;" id="tel3" name="tel3" type="text" maxlength="4"/>
                            <p><img src="/img/tbl0401_coment03.gif" alt="* 사용하시는 휴대폰번호를 입력하세요." /></p></td>
						</tr>
						<tr>
							<th scope="col"><label for="contactus04"><img  src="/img/tbl0401_img04.png" alt="제목" /></label></th>
							<td><input type="text" class="w95" name="title" id="title" title="제목 입력" /></td>
						</tr>
						<tr>
							<th scope="col"><label for="contactus05"><img  src="/img/tbl0401_img05.png" alt="내용" /></label></th>
							<td><textarea name="content"  cols="" rows="10">&nbsp;</textarea></td>
						</tr>
						<tr>
							<th scope="col"><label for="contactus06"><img  src="/img/tbl0401_img06.png" alt="파일첨부" /></label></th>
							<td><input type="file" class="w83" name="file_name" id="file_name" title="" /></td>
						</tr>
					</tbody>
				</table>
                
                <div class="btn-right pdb35">
                <img src="/img/btn_ok.gif" alt="등록" id="goSave" style="cursor: pointer;" />
                <a href="/support/contact_list.jsp"><img src="/img/btn_cancle.gif" alt="취소" /></a>
                </div>
                
			</div>

        <div class="advice"><img src="/img/img01.gif" alt="문의및상담 1666-0135" /></div>
        </form>
        </div>



<!-- footer -->
<%@ include file="/inc/footer.jsp" %>
<!-- fooer// -->
</div>
<!-- container// -->
</div>
</div>
</div>
</body>
</html>